package com.example.testdemo.level3;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.testdemo.R;

import java.util.List;

/**
 * Created by MrYan on 2018/8/7.
 * 三级联动 第二级适配器
 */

public class LevelThreeTwoAdapter extends BaseQuickAdapter<DataBean,BaseViewHolder> {
    public LevelThreeTwoAdapter(Context context) {
        super(R.layout.item_three_two);
    }

    @Override
    protected void convert(BaseViewHolder helper, DataBean item) {
        helper.setText(R.id.threeTwo,item.getIndex() + " 条数据");
    }
}
